import Vue from 'vue'
import Vuex from 'vuex'

import getters from './getters'
import NavBar from './modules/nav-bar'
import TabBar from './modules/tab-bar'
import Business from './modules/business' // 业务模块

Vue.use(Vuex)
const store = new Vuex.Store({
  modules: {
    NavBar,
    TabBar,
    Business
  },
  getters
})

export default store
